﻿<?php 
function insertaction($user_name,$content,$conn){
$sql = "INSERT INTO ph_action(user_name,content,c_time)VALUES('".$user_name."','".$content."','".date('Y-m-d H:i:s',time())."');";
mysql_query($sql,$conn);
}
?>